package cn.iocoder.yudao.module.wine.controller.admin.advertisement.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 广告信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AdvertisementRespVO {

    @Schema(description = "序列", requiredMode = Schema.RequiredMode.REQUIRED, example = "25873")
    @ExcelProperty("序列")
    private Long id;

    @Schema(description = "广告名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("广告名称")
    private String name;

    @Schema(description = "广告图片URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("广告图片URL")
    private String imageUrl;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "广告位置编码（首页、内页灯）")
    @ExcelProperty("广告位置编码（首页、内页灯）")
    private String code;

    @Schema(description = "广告类型：0--图片，1--文字", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("广告类型：0--图片，1--文字")
    private Integer type;

    @Schema(description = "开始时间")
    @ExcelProperty("开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    @ExcelProperty("结束时间")
    private LocalDateTime endTime;

}